/*
 Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 SPDX-License-Identifier: Apache-2.0
*/

@use '../../styles' as styles;
@use '../../styles/tokens' as awsui;

.root {
  @include styles.styles-reset;

  &:not(.hidden) {
    border-block-start: awsui.$border-divider-list-width solid awsui.$color-border-dropdown-item-default;

    // Hide border if there are no options (visual-refresh)
    &.no-items {
      border-block-start: awsui.$border-divider-list-width solid awsui.$color-border-dropdown-item-top;
    }
  }
}
